package com.caiheng.api.service.attendance;

import com.caiheng.api.entity.attendance.AttendanceGroup;
import com.caiheng.api.entity.attendance.AttendanceGroupUser;
import com.caiheng.api.entity.sys.SysUser;
import com.caiheng.api.entity.wxuser.User;
import com.caiheng.api.service.base.BaseService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 考勤组Service接口
 *
 * @author ruoyi
 * @date 2022-09-19
 */
public interface AttendanceGroupService extends BaseService<AttendanceGroup> {

    /**
     * 查询当前用户的 考勤组
     * @param groupUser
     * @return
     */
    AttendanceGroup selectAttendanceGroupByUserId(AttendanceGroupUser groupUser);

    /**
     *  获取我绑定的考勤组
     * @param map
     * @return
     */
    List<AttendanceGroup> selectAttendanceGroupList(Map<String,Object> map);

}
